<include file="Public/head"/>
<link type="text/css" rel="stylesheet" href="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.css"/>
<script src="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.js" type="text/javascript"></script>
<script src="http://img1.isou365.cn/paimai/yunying/js/city.js" type="text/javascript"></script>
<style type="text/css">
    .sign_trace em {  background: #cecece none repeat scroll 0 0;  color: #000017;  cursor: pointer;  display: inline-block;  height: 22px;  line-height: 22px;  padding: 0 10px;  text-align: center;  }
    .sign_trace .active {  background: #20ab4f none repeat scroll 0 0;  color: #fff;  }
</style>
<include file="Public/common_header"/>
<div class="mian">
    <include file="Public/sidebar" menu="rzgl.csgrrz"/>
    <div class="mianR">
        <h3 class="yonghu">个人认证信息</h3>
        <div class="new-dealer">
            <table class="table">
                <tbody>
                <tr>
                    <td width="15%">姓名</td>
                    <td>{$detail.dealer_name}</td>
                </tr>
                <tr>
                    <td width="15%">身份证号</td>
                    <td>{$detail.dealer_idcard}</td>
                </tr>
                <tr>
                    <td width="15%">照片信息</td>
                    <td>
                        <dl class="photo-cont clearfix">
                            <dd><img src="{$detail.idcard_front_pic}" _src="{:get_style_cdnurl()}paimai/yunying/images/carded_pic_bg.jpg"><h4>身份证正面</h4></dd>
                            <dd><img src="{$detail.idcard_back_pic}" _src="{:get_style_cdnurl()}paimai/yunying/images/carded_pic_bg.jpg"><h4>身份证背面</h4></dd>
                            <dd><img src="{$detail.idcard_hold_pic}" _src="{:get_style_cdnurl()}paimai/yunying/images/carded_pic_bg.jpg"><h4>手持身份证</h4></dd>
                        </dl>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        <if condition="$status egt 2">
            <h3 class="yonghu">签约跟踪信息</h3>
            <div class="new-dealer">
                <table class="table">
                    <thead>
                    <tr>
                        <th width="40%">跟踪备注</th>
                        <th width="30%">操作时间</th>
                        <th width="30%">操作人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="personal_sign_trace_log" id="log" key="k">
                        <tr>
                            <td>{$log.remark}</td>
                            <td>{$log.createtime}</td>
                            <td>{$log.emp_name}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
            </div>
        </if>
        <if condition="$detail.auth_type eq 1 AND $detail.is_agree_agreement eq 1">
            <div class="new-dealer">
                <table class="table">
                    <thead>
                        <tr>
                            <th width="40%">合同编号</th>
                            <th width="60%">签约时间</th>
                        </tr>
                    </thead>
                    <tbody>
                        <volist name="personal_sign_trace_log" id="log" key="k">
                            <tr>
                                <td>
                                    <!--<a href="{:U('CarDealer/contract',['id'=>$detail['dealer_id']])}"-->
                                       <!--style="color: #20ab4f;" target="_blank">-->
                                    <a href="http://cdn.lpaiche.com/Public/Front/contract.html" target="_blank">
                                    {$detail.sign_contract_no}
                                    </a>
                                </td>
                                <td>{$detail.sign_time}</td>
                            </tr>
                        </volist>
                    </tbody>
                </table>
            </div>
        </if>
        <div class="yongBtn1">
            <input type="button" class="quxiao" onclick="window.close()" value="关闭"/>
        </div>
    </div>
    <div class="clear"></div>
</div>
<!--弹出框效果-->
<div class="sunbox-alret">
    <img src="" />

</div>
<div class="fork"></div>
<div class="xuanzhuan"></div>
<div class="xie-loading"></div>
<div class="pageBeijing"></div>
<script type="text/javascript" src="http://img4.isou365.cn/paimai/yunying/js/jquery.rotate.min.js"></script>
<script type="text/javascript">
    $(function () {
        $(".photo-cont img").each(function(){
            var srcImg=$(this).attr("_src");
            if($(this).attr("src")==""){
                $(this).attr("src",srcImg);
            }
            $(this).click(function(){
                if($(this).attr("src")==srcImg){
                    return false;
                }
                var Img=$(this).attr("src").split("@");
                $(".xuanzhuan").fadeIn();
                $(".fork").fadeIn();
                $(".pageBeijing").css("display","block");
                $(".xie-loading").fadeIn();
                $(".sunbox-alret img").attr("src",Img[0]).get(0).onload=function(){
                    $(".sunbox-alret").fadeIn();
                    $(".sunbox-alret").rotate(0);
                    $(".xie-loading").fadeOut();
                    $(".sunbox-alret").css("top",$(window).scrollTop());
                    $(".sunbox-alret").css({
                        "marginTop":100,
                        "marginLeft":-$(".sunbox-alret").outerWidth()/2
                    })
                };
            });
        });
        var num = 0;
        $(".xuanzhuan").click(function () {
            num++;
            $(".sunbox-alret").rotate(90 * num);
            $(".sunbox-alret").css({
                "marginTop":250+"px",
                "marginLeft":-$(".sunbox-alret").outerWidth()/2
            })
        });

        $(".fork").click(function () {
            $(".pageBeijing").css("display", "none");
            $(".sunbox-alret").fadeOut();
            $(".xuanzhuan").fadeOut();
            $(".fork").fadeOut();
            $(".xie-loading").fadeOut();
            $(".sunbox-alret img").attr("src", "");
            num = 0;
        });
    });
</script>
<include file="Public/foot"/>